import request from '@/utils/request'

// 获取我的订单列表
export function listMyOrder(params) {
  return request({
    url: process.env.PAY_API + '/order/listMyOrder',
    method: 'post',
    data: params
  })
}

// 获取我发起的活动下的订单列表
export function listOrderOfMyRankMember(params) {
    return request({
        url: process.env.PAY_API + '/order/myRankMember/order/list',
        method: 'post',
        data: params
    })
}

// 活动主办方取消某人报名
export function organizerCancelOrder(params) {
    return request({
        url: process.env.PAY_API + '/order/organizerCancelOrder',
        method: 'post',
        data: params
    })
}
